package com.example.campus.service;

import com.example.campus.pojo.dto.CommentPageQueryDTO;
import com.example.campus.pojo.dto.CommentPublishDTO;
import com.example.campus.pojo.vo.CommentVO;
import com.example.campus.result.PageResult;

import java.util.List;

public interface CommentService {

    PageResult getCommentList(CommentPageQueryDTO commentPageQueryDTO);

    void deleteById(Long id);

    List<CommentVO> getCommentByInfoId(Long infoId);

    void publishComment(CommentPublishDTO commentPublishDTO);

    void deleteComment(Long id);

    Long getCommentTotal();
}
